package com.ax.business.common.dao;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ax.business.common.domain.DocConfig;

@Mapper
public interface DocConfigMapper {
    int deleteByPrimaryKey(@Param("businessCode") String businessCode, @Param("flag") Integer flag);

    int insert(DocConfig record);

    int insertSelective(DocConfig record);

    DocConfig selectByPrimaryKey(@Param("businessCode") String businessCode, @Param("flag") Integer flag);

    int updateByPrimaryKeySelective(DocConfig record);

    int updateByPrimaryKey(DocConfig record);
    /**
	 * 判断是是否为当天
	 * 
	 * @param 
	 *           
	 * @return Integer
	 */
    Integer JudgeMapper(Map<String,Object> map);
}